package com.registration;

import org.mindrot.jbcrypt.BCrypt;

public class test {
    public static void main(String[] args) {
        String password = "123456";
        String hashed = BCrypt.hashpw(password, BCrypt.gensalt());
        System.out.println(hashed);
        System.out.println(BCrypt.checkpw(password, hashed));
    }
}
